/*
 * Copyright 2024 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.permission.dto.query;

import com.lap.framework.dto.page.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <pre>
 *  系统管理员 查询条件,专门提供查询使用，请勿当成提交数据保存使用，
 * 	如果有必要新增额外领域模型数据，可以单独创建，请勿使用查询对象做提交数据保存
 * </pre>
 *
 * @author Shuisheng Lao(劳水生)
 * @version 0.0.1
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "系统管理员查询条件")
public class UserQuery extends PageRequest {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "姓名")
    private String fullName;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "部门ID")
    private List<Integer> departmentIds;

    @Schema(description = "岗位ID")
    private List<Integer> positionIds;

    @Schema(description = "状态")
    private Integer statusFlag;

}
